var util = (function () {
  function pathJoin(path1, path2) {
    path1 = path1.charAt(path1.length - 1) === '/' ? path1.slice(0, -1) : path1;
    path2 = path2.charAt(0) === '/' ? path2.slice(1) : path2;
    return path1 + '/' + path2;
  }

  return {
    pathJoin: pathJoin
  }
})();